import java.awt.Point;
import java.io.Serializable;
import java.util.ArrayList;

public class Node implements Serializable {
	/**
	 * 
	 */
	String ID;
	Point Pos;
	int NeighCount;
	boolean visited;

	public boolean isVisited() {
		return visited;
	}

	public void setVisited(boolean visited) {
		this.visited = visited;
	}

	ArrayList<Node> neighbors;

	Node() {
		Pos = new Point();
		neighbors = new ArrayList<Node>();
		visited = false;
	}

	public int getNeighCount() {
		return NeighCount;
	}

	public ArrayList<Node> getNeighbors() {
		return neighbors;
	}

	public void setNeighbors(ArrayList<Node> neighbors) {
		this.neighbors = neighbors;
	}

	public void setNeighCount(int neighCount) {
		NeighCount = neighCount;
	}

	public String getID() {
		return ID;
	}

	public void setID(String iD) {
		ID = iD;
	}

	public String toString() {
		return ID;
	}

	public Point getPos() {
		return Pos;
	}

	public void setPos(Point pos) {
		Pos = pos;
	}
}
